package com.tongtong.middleware.blockchain.service;

import com.tongtong.middleware.blockchain.entity.TblMiddlewareLog;

/**
 * @author wangqi
 */
public interface MiddlewareLogService {
	void updateAsyncInfo(String jobId, String asyncInfo);

	TblMiddlewareLog packEntity(String provider, String method, String requestInfo, String responseInfo, String responseErrorInfo, String responseJobId,
			String responseAsyncInfo);

	TblMiddlewareLog packEntityUpgrade(String provider, String method, String userId, String assetId, String originalRequest, String requestInfo,
			String responseInfo, String responseErrorInfo, String responseJobId, String responseAsyncInfo);
}
